<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Xppass Administrator's Control Panel</title>
<LINK href="<?php echo $www_site_url?>/public/yav-style.css" type=text/css rel=stylesheet>
<link href="<?php echo $www_site_url?>/public/style/base.css" rel="stylesheet" type="text/css" />
<script src="<?php echo $www_site_url?>/public/js/common.js" type="text/javascript"></script>
<script src="<?php echo $www_site_url?>/public/js/ajax.js" type="text/javascript"></script>
<script src="<?php echo $www_site_url?>/public/js/calendar.js" type="text/javascript"></script>

<script>

function viewUser(assignment,c_id){
	var url = "<?php echo $www_site_url?>/admin.php/assignment/detail/c_id/"+c_id+'/assignment/'+assignment;
	mini.ajax.get(url, function(r){
		var r = eval('(' + r + ')');
		if(r.s==200){
			$('assignmentid_'+c_id).innerHTML = "<?php echo lang('sex')?>:"+r.d.assignment_sex+ ", <?php echo lang('signup')?>IP:"+ r.d.assignment_reg_ip +", <?php echo lang('lastlogin')?>:"+r.d.assignment_lastlogin_time+
		", <?php echo lang('lastlogin')?>IP:"+r.d.assignment_lastlogin_ip+" <?php echo lang('email')?>:"+r.d.assignment_email;
			$('assignmentid_'+c_id).style.display = 'block';
		}
		if(r.s==400){
			alert(r.m);
		}
	});
}

function checkOnSubmit(formName) {

	var url = "<?php echo $www_site_url?>/admin.php";
	var params = mini.form.serialize($(formName));

	mini.ajax.post(url, function(r){

		var r = eval('(' + r + ')');

		if(r.s==200){
			alert(r.m);
			window.location.href = r.d;
		}
		if(r.s==400){
			alert(r.m);
			$('msg').innerHTML = r.m;
		}
	}, params);

	return false;

}
</script>
</head>
<body><div id="append"></div>
<div id="msg" style="color:red;text-align:center"></div>



		<div class="mainbox">

				<form action="<?php echo $www_site_url?>/admin.php" name="sendexpressform" id="sendexpressform" method="post">
				<input type="hidden" name="action" value="express">
				<input type="hidden" name="op" value="receivingexpress">
				<input type="hidden" name="ex_id" value="<?php echo $express['ex_id']?>">
				<table onmouseover="addMouseEvent(this);" class="tabcontentcur" width="100%" >

					<?php if(isset($express) && is_array($express)){ ?>

					<tr>
					<td colspan="2"><strong><?php echo '任务信息'?></strong><br/></td>
					</tr>
					<tr>
					   <td width="10%"><?php echo lang('a_title')?></td>
					   <td><input name="a_title" value="<?php echo $express['a_title'];?>" class="textfield" /></td>
					</tr>
					<tr>
					   <td><?php echo lang('a_sdate')?></td>
					   <td><input name="a_sdate" value="<?php echo $express['a_sdate']?>" class="textfield" /></td>
					</tr>
					<tr>
					   <td><?php echo lang('a_edate')?></td>
					   <td><input name="a_edate" value="<?php echo $express['a_edate']?>" class="textfield" /></td>
					</tr>
					<tr>
					   <td><?php echo '姓名'?></td>
					   <td><input name="app_realname" value="<?php echo $express['app_realname']?>" class="textfield" /></td>
					</tr>
					<tr>
					   <td><?php echo '联系方式'?></td>
					   <td><input type="text" name="app_mobile" value="<?php echo $express['app_mobile']?>" class="textfield" /></td>
					</tr>
					<tr>
					   <td><?php echo '通信地址'?></td>
					   <td><input type="text" name="app_postaddress" value="<?php echo $express['app_postaddress']?>" class="textfield" /></td>
					</tr>
					<tr>
					<td colspan="2"><br/><br/><strong><?php echo '到付快递信息';?></strong></td>
					</tr>
					<tr>
					   <td><?php echo '快递商名称'?></td>
					   <td><input type="text" name="recv_name" class="textfield" /></td>
					</tr>
					<tr>
					   <td><?php echo '到付费用'?></td>
					   <td><input type="text" name="recv_cost" class="textfield" /></td>
					</tr>
					<tr>
					   <td><?php echo '补汇金额'?></td>
					   <td><input type="text" name="recv_extend" class="textfield" /></td>
					</tr>
					<tr>
					   <td colspan='2'><br/><br/><input type="submit" value="<?php echo lang('submit')?>" class="button" /> <input type="button" value="<?php echo lang('goback')?>" onclick="history.go(-1);" class="button" /></td>
					</tr>

						<tr>
						<td colspan="9"><div style="display:none" id="assignmentid_<?php echo $express['a_id']?>"></div></td>
						</tr>

						<?php
						}?>

				</table>

				</form>
				</div>
					</div>

	</div>

</body>
</html>